import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import "./index.css";
import App from "./components/App/App";
// import { ThemeProvider } from "./commons/style/styled-components";
import { ThemeProvider } from "styled-components";
import theme from "./commons/style/theme";
import { ProductsProvider } from "./contexts/products-context/ProductsContextProvider";

createRoot(document.getElementById("root")).render(
  <StrictMode>
    <ThemeProvider theme={theme}>
      <ProductsProvider>
        <App />
      </ProductsProvider>
    </ThemeProvider>
  </StrictMode>
);
